{include file="common/header.tpl"}
<body>
{include file="common/toptab.tpl"}
<div id="tabs4">
</div>
<div class="wrap" style="min-height: 400px">
<table width="100%" height="100%" cellpadding="0" cellspacing="0">
	<tr>
	<td width="54px" height="43px" class="fr_lefttop"></td>
	<td height="43px" class="fr_centertop" ></td>
	<td width="48px" height="43px" class="fr_righttop"></td>
	</tr>
	<tr>
	<td width="54px" class="fr_leftmiddle" >&nbsp;</td>
	<td class="fr_centermiddle">
	<h2>{t}Welcome to NTPCMS{/t}</h2>
	<div class="box" style="float: right; width: 40%">
		<h2>{t}Lastest activity{/t}</h2>
		<div class="box-content" style="background-color: #ECECEC">
			<h4>Page</h4>
			<p>
				<ul>
				{foreach name=page from=$PAGES item=item}
					<li><a href="?mod=manage&sub1=page&act=editpage&id={$item->page_id}">
						{$item->page_name}
					</a></li>
				{/foreach}
				</ul>
			</p>
			<h4>User</h4>
			<p>
				<ul>
					{foreach name=user from=$USERS item=item}
					<li><a href="?mod=userman&sub1=edituser&id={$item->ID}">
						{$item->user_login}
					</a></li>
					{/foreach}
				</ul>
			</p>
			<h4>Stats</h4>
			<p>
				{$STATS}
			</p>
		</div>
	</div>
	<p>{t}Use these links to get started:{/t}</p>
	<ul>
		<li><a href="?mod=manage&sub1=page&act=newpage">{t}Create new page{/t}</a></li>
		<li><a href="?mod=manage&sub1=category">{t}Manage Category{/t}</a></li>
		<li><a href="?mod=manage&sub1=page">{t}Manage Page{/t}</a></li>
		<li><a href="?mod=manage&sub1=product">{t}Manage Products{/t}</a></li>
		<li><a href="?mod=userman&sub1=users">{t}Manage User{/t}</a></li>
		<li><a href="?mod=userman&sub1=profile">{t}Update Your Profile{/t}</a></li>
	</ul>
	</td>
	<td width="48px" class="fr_rightmiddle"></td>
	</tr>
	<tr>
	<td width="54px" height="60px" class="fr_leftbot" ></td>
	<td height="60px" class="fr_centerbot"></td>
	<td width="48px" height="60px" class="fr_rightbot" ></td>
	</tr>
</table>
</div>
</body>